package com.ronghui.cash.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ronghui.cash.dto.AddressJson;
import com.ronghui.cash.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper extends BaseMapper<Address> {
    /**
     * 用于生成Json
     * @param parentId
     * @return
     */
    List<AddressJson> selectAddressJsonByParentId(@Param("parentId") Long parentId);
}
